package com.ruoyi.business.service;

import java.util.List;
import com.ruoyi.business.domain.Waitlist;

/**
 * 候补订单Service接口
 * 
 * @author ruoyi
 * @date 2025-03-24
 */
public interface IWaitlistService 
{
    /**
     * 查询候补订单
     * 
     * @param id 候补订单主键
     * @return 候补订单
     */
    public Waitlist selectWaitlistById(Long id);

    /**
     * 查询候补订单列表
     * 
     * @param waitlist 候补订单
     * @return 候补订单集合
     */
    public List<Waitlist> selectWaitlistList(Waitlist waitlist);

    /**
     * 新增候补订单
     * 
     * @param waitlist 候补订单
     * @return 结果
     */
    public int insertWaitlist(Waitlist waitlist);

    /**
     * 修改候补订单
     * 
     * @param waitlist 候补订单
     * @return 结果
     */
    public int updateWaitlist(Waitlist waitlist);

    /**
     * 批量删除候补订单
     * 
     * @param ids 需要删除的候补订单主键集合
     * @return 结果
     */
    public int deleteWaitlistByIds(Long[] ids);

    /**
     * 删除候补订单信息
     * 
     * @param id 候补订单主键
     * @return 结果
     */
    public int deleteWaitlistById(Long id);
}
